<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/11/13
 * Time: 14:14
 */

namespace txz\common\third_lib\model\lib;


class Model
{
    private $tableName;
    private $dbName;
    private $dbConfig;

    public function __construct($dbName, $tableName)
    {
        $this->setDbName($dbName);
        $this->setTableName($tableName);
    }

    /**
     * @return mixed
     */
    public function getTableName()
    {
        return $this->tableName;
    }

    /**
     * @param mixed $tableName
     */
    public function setTableName($tableName)
    {
        $this->tableName = $tableName;
    }

    /**
     * @return mixed
     */
    public function getDbName()
    {
        return $this->dbName;
    }

    /**
     * @param mixed $dbName
     */
    public function setDbName($dbName)
    {
        $this->dbName = $dbName;
    }

    /**
     * @return mixed
     */
    public function getDbConfig()
    {
        return $this->dbConfig;
    }

    /**
     * @param mixed $dbConfig
     */
    public function setDbConfig($dbConfig)
    {
        $this->dbConfig = $dbConfig;
    }
}